package com.simple.common.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description 消息用户表(MessageTarget)表实体类
 * @Author xiaoke
 * @Date 2024-09-04 10:31:52
 * @Version 1.0
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message_target")
public class MessageTarget {
    @TableId
    //消息Id    
    private Long mId;
    //用户Id    
    private Long userId;
    //是否已读
    private Integer isRead;
    //已读时间
    private LocalDateTime readTime;
}

